<template>
    <van-sticky>
        <div class="header">
            <van-icon size="25" name="chat-o" dot style="margin:0 10px" />
            <van-search class="header-search" :placeholder="placeholder" />
        </div>
    </van-sticky>
</template>

<script>
export default {
    name: "Header",
    props: {
        placeholder: {
            type: String
        },
        title: {
            type: Array
        }
    },
    methods: {},
    components: {},
    mounted() {},
    updated() {}
};
</script>

<style scoped>
.header {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 5px 0;
    background: #fff;
}
.header-search {
    flex: 1;
}
</style>
